<template>
    <div class="group-list">
        <h4>{{title}}</h4>
        <slot name="test1">有没有东西啊</slot>
        <slot name="test2">有没有东西啊2</slot>
    </div>
</template>
<script>
export default {
    name:'GroupList',
    props:['title']
}
</script>
<style>
    .group-list{
        width: 300px;
        height: auto;
        background-color: skyblue   ;
    }

    h4{
        background-color: yellowgreen;
        text-align: center;
    }
</style>